
package com.huaweicloud.haydn.delivercore.agent.dto.haydn;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 功能描述:表内容一致性检测表中的字段映射用于写入配置文件的简略信息
 *
 * @since 2023-03-08
 */
@Data
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class MonitoringFieldMappingConfigDto {

    @ApiModelProperty("源表英文列名")
    private String sourceFieldNameEn;

    @ApiModelProperty("目的表英文列名")
    private String targetFieldNameEn;

    @ApiModelProperty("是否为主键 Primary Key")
    private Boolean isPrimaryKey = false;
}
